package com.mskj.zxmy.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Schema(description = "入库单保存请求DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockInSaveDTO {
    private Integer id;
    @Schema(description = "单据编号、入库单号")
    private String repositoryNumber;
    @Schema(description = "单据类型", example = "生产入库")
    private String documentType;
//    @Schema(description = "入库单号")
//    private String repositoryNumber;
    @Schema(description = "操作人", example = "系统管理员")
    private String operator;
    @Schema(description = "入库日期")
    private String repositoryDate;
    @Schema(description = "关联供应商")
    private String associatedSuppliers;
    @Schema(description = "批次号")
    private String singleBatch;

    @Schema(description = "入库明细列表")
    private List<StockInDetailSaveDTO> details;
} 